package com.lanou3g.ssoserver.web;

import com.sun.org.apache.xpath.internal.operations.Mod;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class PageController {

    @RequestMapping("/")
    public String index(@RequestParam String redirectUrl, Model model) {
        model.addAttribute("url", redirectUrl);
        return "login";
    }

}
